package com.lovo.Atm.service;

import com.lovo.Atm.pojo.UserDO;

public interface UserService {
    UserDO getByNameAndPassword(String name, String password);

    //存
    void saveBlance(int id, double blance);

    //取
    void remove(int id, double blance) throws Exception;

    //转账
    void transfer(int mainId, String otherName, double balance) throws Exception;
    //改密
    void mod(int id, String oldPsw, String newPsw, String confirmPsw) throws Exception;

}
